<table cellpadding="5">
	<input name="id" type="hidden" value="${(matchProjectItem.id)!}" />
	<tr>
		<td class="tbLabel">比赛名称:</td>
		<td>
			<input name="matName" maxlength="30" class="easyui-validatebox textbox" data-options="required: true" value="${(matchProjectItem.matName)!}"/>
		</td>
		<td class="tbLabel">大赛状态:</td>
		<td>
			<@eu.comboBox disabled="true" name="matStatu"  url="common.do?loadComboBox&key=MATCH_STATU&value=${(matchProjectItem.matStatu)!'doing'}" />
		</td>
		<td class="tbLabel">发布状态:</td>
		<td>
			<@eu.comboBox disabled="true" name="publishStatu" url="common.do?loadComboBox&key=MATCH_PUBLISH_STATU&value=${(matchProjectItem.publishStatu)!'2'}" />
		</td>
	</tr>
	<tr>
		<td class="tbLabel">开始时间:</td>
		<td>
			<input name="beginDay" id="matchProjectBeginDay" style="width:160px;" class="easyui-datebox"  data-options="required: false" value="${(matchProjectItem.beginDay)!}" />
		</td>
	</tr>
	<tr>
		<td class="tbLabel">结束时间:</td>
		<td>
			<input name="endDay" id="matchProjectEndDay" style="width:160px;" class="easyui-datebox"  data-options="required: false,validType:'validDate[\'#matchProjectBeginDay\']'" value="${(matchProjectItem.endDay)!}" />
		</td>
	</tr>
	<tr>
		<td class="tbLabel">是否同步:</td>
		<td>
			<@eu.comboBox name="syncCms" url="common.do?loadComboBox&key=YON&value=${(matchProjectItem.syncCms)!'true'}" />
		</td>
	</tr>
	<tr>
		<td class="tbLabel">封面图片:</td>
		<td colspan="5">
			<#include "../../common/uploadFile.ftl" />
			<@uploadFileBtn2 (matchProjectItem.logoPath)!'' "logoPath" "matchProjectItemLogoPath" "上传封面" "*.jpg;*.gif;*.png"/>
		</td>
	</tr>
	
</table>
<script>
$.extend($.fn.validatebox.defaults.rules, {  
	validDate: {  
        validator: function (value, param) {
       		var d1 = $(''+param[0]+'').datebox('getValue')  
            return value >= d1;
        },  
        message: '结束时间必须大于或等于开始时间'  
    }  
})  
</script>
